package com.itmuch.providerdemo;

import com.itmuch.providerdemo.feign.BaiduFeignClient;
import com.itmuch.providerdemo.feign.ProviderDemoFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.client.ServiceInstance;
import org.springframework.cloud.client.discovery.DiscoveryClient;
import org.springframework.cloud.netflix.eureka.EurekaServiceInstance;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

import java.net.URI;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;

// 船舱2
// thread-pool-2 corePoolSize=5, workQueue=5, maximumPoolSize=10
@Slf4j
@RestController
public class XController {
    // 调用的微服务X
}
